Ext.define('extjs6test.model.LoginData',{
    extend:'Ext.data.Model',
    requires:[
        "extjs6test.model.core.User"
    ],
    fields:[
        {name:"user",reference:"core.User",mapping:"user"},
        {name:"roles",reference:"core.Role",mapping:"roles"}
    ]
});